package com.example.demo.entity;

public class BookCategory {
    private int id;
    private String name;
    private int user_flag;

    public BookCategory() {
    }

    public BookCategory(int id, String name, int user_flag) {
        this.id = id;
        this.name = name;
        this.user_flag = user_flag;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUser_flag() {
        return user_flag;
    }

    public void setUser_flag(int user_flag) {
        this.user_flag = user_flag;
    }

    @Override
    public String toString() {
        return "BookCategory{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", user_flag=" + user_flag +
                '}';
    }
}
